import cv2
import numpy as np


img = cv2.imread("earth_gray.jpg", cv2.IMREAD_UNCHANGED)
img = cv2.resize(img,(100,100))
new = cv2.applyColorMap(img, 0)
data = new.copy()
n = 1
for i in range(1,5):
    data = np.hstack((data, cv2.applyColorMap(img, n)))
    n = n +1

for col in range(0,4):
    new = cv2.applyColorMap(img, n)
    for row in range(1,5):
        new = np.hstack((new,cv2.applyColorMap(img, n)))
        n = n + 1
    data = np.vstack((data,new))
cv2.imshow('colormap', data)
cv2.waitKey(0)
cv2.destroyAllWindows()

'''

enum ColormapTypes
{
COLORMAP_AUTUMN = 0
COLORMAP_BONE = 1
COLORMAP_CIVIDIS = 17
COLORMAP_COOL = 8
COLORMAP_HOT = 11
COLORMAP_HSV = 9
COLORMAP_INFERNO = 14
COLORMAP_JET = 2
COLORMAP_MAGMA = 13
COLORMAP_OCEAN = 5
COLORMAP_PARULA = 12
COLORMAP_PINK = 10
COLORMAP_PLASMA = 15
COLORMAP_RAINBOW = 4
COLORMAP_SPRING = 7
COLORMAP_SUMMER = 6
COLORMAP_TURBO = 20
COLORMAP_TWILIGHT = 18

COLORMAP_TWILIGHT_SHIFTED = 19

COLORMAP_VIRIDIS = 16
COLORMAP_WINTER = 3
};
'''